<ion-view >

<header  class="bar bar-header  bar-stable bar-mycolor " >
	<button class="button button-clear" ng-click="close_talk_comntent()">取消</button>
		<h1 class="title ">评论</h1>
</header>

<ion-content class="has-header bk-gray has-footer" data-ng-init="init_talk_comment()">
	
			<div class="teatalk-item ">
				<div class="teatalk-item-header">
					<div class="float-left">
						<div class="teatalk-store-logo float-left">
							<img src="{{talk_info.user.avatar}}" ng-click="goToUserDetailPage(talk_info.user.id)"/>
						</div>
						<div class="float-left">
							<div>
								<span class="teatalk-store-name">{{talk_info.user.nickname}}</span>
								<!--<span class="teatalk-store-icon">
									<span class="">vip</span>
									<span class="">oh</span>
								</span>-->
							</div>
							<div class="teatalk-store-info">
								<span class="">{{talk_info.created_time}}</span>
								<span class="">来自云南省昆明市</span>
							</div>
						</div>


					</div>
					<div class="teatalk-store-attent float-right">
						<span id="" class="float-right bt-style3" ng-click="follow_user(talk_info.user.id, user_is_followed)">{{user_is_followed == true?'取消关注':'+关注'}}</span>
					</div>
				</div>

				<div class="teatalk-item-body">
					<p class="teatalk-item-intrud ">{{talk_info.content}}</p>
					<ion-gallery ion-gallery-items="talk_img_list" ion-gallery-toggle="false"></ion-gallery>
					<!--<div class=" row_autoWarp auto-warp-img">
						
						<div class="col-33" ng-repeat="img in talk_info.imglist">
							<img src="{{img}}"/>
						</div>
					</div>-->
					<div class="teatalk-item-place">
						<span >
							<a class="subdued icon ion-ios-location">{{talk_info.created_addr}}</a>
						</span>
						<span class="float-right">
							查看{{talk_info.view_count}}次
						</span>
					</div>
				</div>

				<div class="teatalk-item-share margin-top-10 row-flex">
					<!--<div class="teatalk-share-bt float-left">
						<span>
							<a class="subdued icon ion-share icon-num icon-20">0</a>
						</span>
					</div>-->
					<div class="teatalk-share-bt2 float-left">
						<span>
							<a class="subdued icon ion-ios-chatbubble-outline icon-num icon-20">{{talk_info.comment_count}}</a>
						</span>
					</div>
					<div class="teatalk-share-bt2 float-left">
						<span>
							<a class="subdued icon ion-ios-heart-outline icon-num icon-20">{{talk_info.up_count}}</a>
						</span>
					</div>
				</div>
			</div>

		</div>
	</div>
	
	<div class="list margin-top-10 warp-auto-list">
		<div class="item " ng-repeat="comment in talk_comment_list">
			<div class="product-comment-buyer">
			<div class="row-flex">
				<div class="teatalk-store-logo float-left">
					<img src="{{comment.user.avatar}}"/>
				</div>
				<div class="float-left">
					<div>
						<span class="teatalk-store-name  font-color-gray"><strong>{{comment.user.nickname}}</strong></span>
					</div>
					<div class="teatalk-store-info ">
						<span class="font-size-md">{{comment.time}}</span>
					</div>
					<div class="product-comment font-color-gray">
						{{comment.content}}
					</div>
				</div>
					
			</div>	
			
			</div>
			
		</div>
	</div>
	
	<ion-infinite-scroll  ng-if="!is_stop_load_talk" on-infinite="scroll_load_talk_comments()" distance="1%" ></ion-infinite-scroll>

</ion-content >

<div class="user-defined-footer item-input-inset bk-gray-light">
	<label class="item-input-wrapper">
		<i class="icon ion-ios7-search placeholder-icon"></i>
		<input type="search" placeholder="评论" ng-model="comment_content.content">
  	</label>
	<button class="button button-clear font-color-xg" ng-click="talk_comment_submit()">
	    发送
	</button>
</div>

</ion-view>
